package cn.fx.framework.exception;

import cn.fx.framework.cons.ErrorCodeMessage;

/**
 * 数据类型转换异常
 * @author ljh
 * @date 2020/5/8 10:11
 */
public class DataTypeConvertException extends BaseException {
    public DataTypeConvertException(int code, String msg) {
        super(code, msg);
    }

    public DataTypeConvertException(String msg) {
        this(ErrorCodeMessage.DATATYPE_CONVERT_EXCEPTION.getCode(), msg);
    }
}
